/*

*** This do file creates the replication results for 

Transnational linkages and the spillover of environment-efficiency into developing countries (with Richard Perkins), Global Environmental Change, 19 (3), 2009, pp. 375-383

Eric Neumayer (LSE)																			

Please report any errors to e.neumayer@lse.ac.uk

*/

use "Article for Global Environmental Change (efficiency).dta", clear

* CO2
xi: xtabond lneiapppco2 lnneweiappppc industrygdpinternew   i.year if inc_developing==1 & year>=1980, robust pre(llneiapppco2machmanimpslrowst, endog)
outreg using table1, replace
estat abond
xi: xtabond lneiapppco2 lnneweiappppc industrygdpinternew   i.year if inc_developing==1 & year>=1980, robust pre(llneiapppco2machmanexpslrowst, endog)
outreg using table1, append
estat abond
xi: xtabond lneiapppco2 lnneweiappppc industrygdpinternew   i.year if inc_developing==1 & year>=1980, robust pre(llneiapppco2fdistockslrowst, endog)
outreg using table1, append
estat abond
xi: xtabond lneiapppco2 lnneweiappppc industrygdpinternew   i.year if inc_developing==1 & year>=1980, robust pre(llneiapppco2tellcombslrowst, endog)
outreg using table1, append
estat abond
xi: xtabond lneiapppco2 lnneweiappppc industrygdpinternew   i.year if inc_developing==1 & year>=1980, robust pre(llneiapppco2machmanimpslrowst llneiapppco2machmanexpslrowst llneiapppco2fdistockslrowst llneiapppco2tellcombslrowst, endog)
outreg using table1, append
estat abond


* SO2
xi: xtabond lneiapppso2 lnneweiappppc industrygdpinternew   i.year if inc_developing==1 & year>=1980, robust pre(llneiapppso2machmanimpslrowst, endog)
outreg using table2, replace
estat abond
xi: xtabond lneiapppso2 lnneweiappppc industrygdpinternew   i.year if inc_developing==1 & year>=1980, robust pre(llneiapppso2machmanexpslrowst, endog)
outreg using table2, append
estat abond
xi: xtabond lneiapppso2 lnneweiappppc industrygdpinternew   i.year if inc_developing==1 & year>=1980, robust pre(llneiapppso2fdistockslrowst, endog)
outreg using table2, append
estat abond
xi: xtabond lneiapppso2 lnneweiappppc industrygdpinternew   i.year if inc_developing==1 & year>=1980, robust pre(llneiapppso2tellcombslrowst, endog)
outreg using table2, append
estat abond
xi: xtabond lneiapppso2 lnneweiappppc industrygdpinternew   i.year if inc_developing==1 & year>=1980, robust pre(llneiapppso2machmanimpslrowst llneiapppso2machmanexpslrowst llneiapppso2fdistockslrowst llneiapppso2tellcombslrowst, endog)
outreg using table2, append
estat abond



